#pragma once
#include<unordered_map>
#include<string>
// 框架读取配置文件类
// rpcip
// rpcport
// zookeeper ip
// zookeeper port
class MrpcConfig{
public:
    void LoadConfigFile(const char * config_file);
    std::string Load(const std::string &key);
    std::string Trim(std::string src_buf);
private:
    std::unordered_map<std::string, std::string> m_config_map;
};
